package
{
	public class ZoneRegistry
	{
		[Embed(source = "../media/maps/mapCSV_ZoneTest1_walkable.csv", mimeType = "application/octet-stream")] 
		static public var walkableTilesTest1:Class;	
		[Embed(source = "../media/maps/mapCSV_ZoneTest1_doors.csv", mimeType = "application/octet-stream")] 
		static public var doorsTest1:Class;	
		[Embed(source = "../media/maps/mapCSV_ZoneTest2_walkable.csv", mimeType = "application/octet-stream")] 
		static public var walkableTilesTest2:Class;	
		[Embed(source = "../media/maps/mapCSV_ZoneTest2_doors.csv", mimeType = "application/octet-stream")] 
		static public var doorsTest2:Class;	
		
		/*[Embed(source = "../Media/csv_tiles_zone1.csv", mimeType = "application/octet-stream")] 
		static public var walkableTilesZone1:Class;		
		[Embed(source = "../Media/csv_shadow_human_objects_zone1.csv", mimeType = "application/octet-stream")] 
		static public var shadowHumanObjectsZone1:Class;
		[Embed(source = "../Media/csv_shadow_objects_zone1.csv", mimeType = "application/octet-stream")] 
		static public var shadowObjectsZone1:Class;
		[Embed(source = "../Media/csv_human_objects_zone1.csv", mimeType = "application/octet-stream")] 
		static public var humanObjectsZone1:Class;*/
		
		
		[Embed(source="../media/maps/testTiles.png")] 
		static public var walkableTiles1PNG:Class;
		[Embed(source="../media/maps/doors.png")] 
		static public var doorsPNG:Class;
		/*[Embed(source="../Media/tileSet1.png")] 
		static public var walkableTiles1PNG:Class;
		[Embed(source="../Media/shadow_human_objects1.png")] 
		static public var shadowHumanObjects1PNG:Class;
		[Embed(source="../Media/shadow_objects1.png")] 
		static public var shadowObjects1PNG:Class;
		[Embed(source="../Media/human_objects1.png")] 
		static public var humanObjects1PNG:Class;*/
		
		static public function GetDirectionFromID(iD:int):String
		{
			if(iD>=1 && iD<5)
			{
				return "Left";
			}
			else if(iD>=5 && iD<9)
			{
				return "Right";
			}
			else if(iD>=10 && iD<14)
			{
				return "Up";
			}
			else if(iD>=15 && iD<19)
			{
				return "Down";
			}
			return "Unknown";
		}
	}
}